home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4582 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: news.mindlink.net!news
  2. From: genew@mindlink.bc.ca (Gene Wirchenko)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: void main() and other atrocities!
  5. Date: Mon, 05 Feb 1996 23:12:17 GMT
  6. Organization: MIND LINK! - British Columbia, Canada
  7. Message-ID: <4f6309$o2b@fountain.mindlink.net>
  8. References: <4eduaj$1aq@grouper.Exis.Net> <4epplj$egf@host-3.cyberhighway.net> <4erjn2INN38b@keats.ugrad.cs.ubc.ca> <9602021300.AA04359@dxmint.cern.ch> <4f4ifv$h8f@charm.il.ft.hse.nl>
  9. NNTP-Posting-Host: line033.nwm.mindlink.net
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. robert@il.ft.hse.nl (Robert Klep) wrote:
  13.  
  14. >Dan Pop <danpop@mail.cern.ch>:
  15. >>>You don't need main() to be defined has having any sort of return value unless
  16. >>>you plan to "return" out of it. If you use exit(0) like me, declaring the
  17. >>>function void is ok, since your function never returns.
  18. >>BULLSHIT.  Please read the FAQ before posting such nonsense.
  19.  
  20. >What happened with the 'if it works, it works' thought?
  21.  
  22. >                                                                robert 
  23.  
  24.      Possibly, it got sideswiped on a platform where "it" didn't work.
  25. If your code conforms to the Standard and doesn't work per the
  26. Standard, blame the compiler.  If your code doesn't conform to the
  27. Standard, it's your problem.  Is life so boring that you want more
  28. problems?
  29.  
  30.      "If it works, it works." = "It's good enough." not "It's good."
  31.  
  32. Sincerely,
  33.  
  34. Gene Wirchenko
  35.  
  36. C Pronunciation Guide:
  37.      y=x++;     "wye equals ex plus plus semicolon"
  38.      x=x++;     "ex equals ex doublecross semicolon"
  39.  
  40.